﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JavaNET;
using System.Diagnostics;
using JavaNET.listener;

namespace javanet_demo.demo
{
    public class DemoListener : JavaNETCommunicationListener
    {
        public void beforeFacadeInvocationEvent(JavaNETCommunicationEvent javaNETEvent)
        {
            Debug.WriteLine("beforeFacadeInvocationEvent: " + javaNETEvent);
        }

        public void afterFacadeInvocationEvent(JavaNETCommunicationEvent javaNETEvent)
        {
            Debug.WriteLine("afterFacadeInvocationEvent: " + javaNETEvent);
        }

        public void onException(JavaNETCommunicationEvent javaNETEvent)
        {
            Debug.WriteLine("onException: " + javaNETEvent);
        }

    }
}